package com.ruoyi.system.domain;


import lombok.Data;

import java.util.List;

/**
 * @author : [LiuYanQiang]
 * @version : [v1.0]
 * @className : Tree
 * @description : [树型结构实体类]
 * @createTime : [2022/5/2 23:37]
 * @updateUser : [LiuYanQiang]
 * @updateTime : [2022/5/2 23:37]
 * @updateRemark : [描述说明本次修改内容]
 */
@Data
public class Tree {

    private String value;

    private String p_id;

    private String name;

    private List<Tree> children;

    public Tree(String id, String p_id, String chapter_title) {
        this.value = id;
        this.p_id = p_id;
        this.name = chapter_title;
    }

}
